version: '3.8'
services:
  config:
    build: config
    image: zyx42/paragon-config
    ports:
      - 8081:8081

  registry:
    build: registry
    image: zyx42/paragon-registry
    depends_on:
      - config
    ports:
      - 8082:8082

  gateway:
    build: gateway
    image: zyx42/paragon-gateway
    depends_on:
      - config
    ports:
      - 9000:9000

  auth-service:
    build: auth-service
    image: zyx42/paragon-auth-service
    depends_on:
      - config
    ports:
      - 8083:8083

  product-service:
    build: product-service
    image: zyx42/paragon-product-service
    depends_on:
      - config
    ports:
      - 8091:8091

  frontend-client:
    build: frontend-client
    image: zyx42/paragon-frontend-client
    ports:
      - 4200:80
